package com.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("invoice")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Invoice {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 报销ID (关联reimburse表的id)
     */
    @TableField("rei_id")
    private Integer reiId;

    /**
     * 发票图片路径
     */
    @TableField("invoice_img")
    private String invoiceImg;
}